/**
 * @filename:Receive Jan 14, 2025
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(收料通知单实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_pur_receive")
@ApiModel(value="t_pur_receive对象", description="收料通知单表")
public class Receive extends Model<Receive> {

	private static final long serialVersionUID = 1736835142966237L;
	
	@TableId(value ="Id", type = IdType.AUTO)
	@ApiModelProperty(name = "Id" , value = "编号")
    private Long Id;
    
    @TableField(value = "Fid")
	@ApiModelProperty(name = "FID" , value = "金蝶单据主键")
    private Long FID;
    
    @TableField(value = "BillNo") 	
	@ApiModelProperty(name = "BillNo" , value = "单据编号")
    private String BillNo;
    
    @TableField(value = "DATE") 	
	@ApiModelProperty(name = "DATE" , value = "日期")
    private Date DATE;
    
    @TableField(value = "PurDept") 	
	@ApiModelProperty(name = "PurDept" , value = "采购部门")
    private String PurDept;
    
    @TableField(value = "PurChaser") 	
	@ApiModelProperty(name = "PurChaser" , value = "采购员")
    private String PurChaser;
    
    @TableField(value = "OrgNumber") 	
	@ApiModelProperty(name = "OrgNumber" , value = "组织编码")
    private String OrgNumber;
    
    @TableField(value = "OrgName") 	
	@ApiModelProperty(name = "OrgName" , value = "组织名称")
    private String OrgName;
    
    @TableField(value = "IsWeight") 	
	@ApiModelProperty(name = "IsWeight" , value = "是否称重")
    private Boolean IsWeight;

    @TableField(value = "PurOrderNo")
    @ApiModelProperty(name = "PurOrderNo" , value = "采购订单单据编号")
    private String PurOrderNo;

    @TableField(value = "supplierNo")
    @ApiModelProperty(name = "supplierNo" , value = "供应商编码")
    private String supplierNo;

    @TableField(value = "supplierName")
    @ApiModelProperty(name = "supplierName" , value = "供应商名称")
    private String supplierName;

    @TableField(value = "isChecked")
    @ApiModelProperty(name = "isChecked" , value = "是否下推来料检验单")
    private Boolean isChecked;

    @TableField(value = "remark")
    @ApiModelProperty(name = "remark" , value = "备注")
    private String remark;

    @TableField(value = "isFailure")
    @ApiModelProperty(name = "isFailure" , value = "是否失效")
    private int isFailure;
    @Override
    public Serializable pkVal() {
        return this.Id;
    }
   
}
